home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / docs / misc / ConcNews.lha / news / amiga.compilers / comp.sys.amiga.programmer_26662_000012.msg < prev    next >
Encoding:
Internet Message Format  |  1994-11-27  |  1.4 KB

  1. Path: etek.chalmers.se!chalmers.se!sunic!mcsun!Germany.EU.net!news.netmbx.de!mailgzrz.TU-Berlin.DE!math.fu-berlin.de!umn.edu!spool.mu.edu!howland.reston.ans.net!gatech!concert!sas!mozart.unx.sas.com!walker
  2. From: walker@twix.unx.sas.com (Doug Walker)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Input Handlers
  5. Keywords: input.device handler, 'C'
  6. Message-ID: <C2pAnC.5np@unx.sas.com>
  7. Date: 19 Feb 93 14:52:23 GMT
  8. References: <bookie.730093668@teal>
  9. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  10. Organization: SAS Institute Inc.
  11. Lines: 25
  12. Originator: walker@twix.unx.sas.com
  13. Nntp-Posting-Host: twix.unx.sas.com
  14.  
  15.  
  16. In article <bookie.730093668@teal>, bookie@teal.csn.org (Wayne Hannam) writes:
  17. |> 
  18. |> I am attempting to write an Input Handler for the input device in 'C' using
  19. |> SAS 6.2, does anyone out there have some example code I could peek at, my
  20. |> attempts keep failing in a locked system.This seems like it should be
  21. |> relitivley simple stuff, but for some reason the truth of the matter is
  22. |> that it is not, and I am at wits end.  Please HELP, TIA
  23.  
  24. Check out SC:EXAMPLES/CBACK/SCHELP.C .  It's got an example of an
  25. input handler.
  26.  
  27. Make sure you are compiling with the NOSTACKCHECK option, or
  28. declaring your input handler with the __interrupt keyword (or both).
  29. Also, you probably want to declare it with __saveds if you want
  30. to access string literals or global data.